<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/struts-dojo-tags"  prefix="sx" %>
<jsp:directive.page import="com.im.logic.*" />
<jsp:directive.page import="com.im.entity.*" />
<ul class="article-list">
	<li class="article-first"><h1><s:property value="column.show_name" /></h1></li>
	<s:iterator value="%{column.object}">
    	<li class="hidden-article-detail"><!-- 包含摘要的详细版显示方式 -->
    		<s:a href="%{url}">
    		<s:if test="%{title.length() > 30}"><!-- 这里需要省略过长的标题 -->
    			<s:property value="%{title.substring(0,30) + '...'}"/>
    		</s:if>
    		<s:else>
    			<s:property value="%{title}"/>
    		</s:else>
    		</s:a>
    		<div class="article-info"><span class="article-type">[<s:property value="%{type}"/>]</span>|<span>发表时间：<s:date name="date" format="yyyy-MM-dd" /></span>|<span><s:property value="read_count" />次阅读</span></div>
    		<div class="article-summary">
    			<s:property value="%{summary}"/>
    		</div>
    	</li>
    </s:iterator>
</ul>
